home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / comm / ca29_3.zip / PC-2-PC.DOC < prev    next >
Text File  |  1992-11-30  |  22KB  |  880 lines

  1. COM-AND Inter-PC File transfer
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.           -----------------------------------------
  13.             COM-AND Inter-PC File transfer
  14.           Script based file transfer for the IBM PC
  15.           -----------------------------------------
  16.  
  17.  
  18.  
  19.  
  20.     COM-AND, and the PC-2-PC script are copyright 1992 by CABER
  21.     Software.  COM-AND is distributed freely and may be copied by
  22.     anyone for any number of machines, for purposes of evaluation.
  23.     The author offers COM-AND and its accessory programs as "share-
  24.     ware".  If you USE the program after evaluating it, you MUST
  25.     pay for it.
  26.  
  27.  
  28.     The complete user license and registration information is to be
  29.     found in the file REGISTER.DOC.  Limitations on redistribution
  30.     of COM-AND are set out in the file VENDOR.DOC.    These two files
  31.     are included with the COM-AND program release.
  32.  
  33.  
  34.  
  35.                  CABER Software
  36.                  R. (Scott) McGinnis
  37.                  P.O. Box 3607 Mdse Mart
  38.                  Chicago, IL 60654-0607
  39.  
  40.                  GEnie, Delphi: TARTAN
  41.                  CIS .......... 73147,2665
  42.                  Internet ..... 73147.2665@compuserve.com
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54. Version 1.1: 921012
  55.  
  56. COM-AND Inter-PC File transfer
  57.  
  58.  
  59.                  Table of Contents
  60.                  -----------------
  61.  
  62. I.    Introduction  .............................................. page 1
  63.  
  64.     A. What is COM-AND? ........................................ page 1
  65.     B. The PC-2-PC script ...................................... page 1
  66.  
  67. II.    Installing the script ...................................... page 2
  68.  
  69.     A. Install COM-AND ......................................... page 2
  70.     B. Placing PC-2-PC.CMD ..................................... page 2
  71.     C. (optional) Create a batch file to invoke the script ..... page 2
  72.  
  73. III.    Script initialization ...................................... page 3
  74.  
  75. IV.    File transfers ............................................. page 5
  76.  
  77.     A. Wildcard transfer ....................................... page 5
  78.     B. Selected file transfer .................................. page 6
  79.  
  80. V.    Exit ....................................................... page 7
  81.  
  82. VI.    DOS gateway ................................................ page 8
  83.  
  84. VII.    Program Requirements ....................................... page 9
  85.  
  86. VIII.    Program and Author Information    ............................ page 10
  87.  
  88.  
  89.                 Appendices
  90.                 ----------
  91.  
  92.  
  93. A.    Null modem  ................................................ page 11
  94.  
  95. B.    Async port speeds .......................................... page 12
  96.  
  97. C.    Modem configuration ........................................ page 13
  98.  
  99.     1. DTR ..................................................... page 13
  100.     2. CD ...................................................... page 13
  101.     3. Modem Escape ............................................ page 14
  102.     4. Hangup .................................................. page 14
  103.     5. Modem Init .............................................. page 14
  104.  
  105.  
  106.  
  107.  
  108.  
  109. Version 1.1: 921012
  110.  
  111. COM-AND Inter-PC File transfer                         Page   1
  112.  
  113.  
  114. I.    Introduction
  115.  
  116.  
  117.     A. What is COM-AND?
  118.  
  119.  
  120.        COM-AND for the IBM PC and compatibles is a communications
  121.        program for use by itself, or for use with several integrated
  122.        accessory programs (which themselves may be used independently of
  123.        COM-AND).  COM-AND provides standard comm program functions:  a
  124.        dialing directory, macros, disk logging, binary and ASCII file
  125.        transfers, scripted execution and so on.
  126.  
  127.  
  128.     B. The PC-2-PC script
  129.  
  130.  
  131.        This document details the PC-2-PC script included with the COM-AND
  132.        release.  PC-2-PC script supports:
  133.  
  134.        o    Direct and dialed connection between two PCs
  135.  
  136.        o    Current directory displays for each PC (on both PCs)
  137.  
  138.        o    Change drive/directory from either PC, on either PC
  139.  
  140.        o    Wild card multiple file transfer from/to either PC
  141.  
  142.        o    Selected file transfer from/to either PC
  143.  
  144.        o    DOS gateway during connection
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164. Version 1.1: 921012
  165.  
  166. COM-AND Inter-PC File transfer                         Page   2
  167.  
  168.  
  169. II.    Installation
  170.  
  171.  
  172.     A. Install COM-AND
  173.  
  174.  
  175.        Refer to the COM-AND release documents (README.DOC and COM-AND.
  176.        DOC) for the description of COM-AND installation, please.
  177.  
  178.  
  179.     B. Placing PC-2-PC.CMD
  180.  
  181.  
  182.        The script file PC-2-PC.CMD should be placed in the COM-AND
  183.        default subdirectory.  If you use the environment variable
  184.        "COM-AND="..., PC-2-PC should be placed in the subdirectory
  185.        indicated by that environment variable.  Otherwise, place the
  186.        script in the same subdirectory as COM-AND.
  187.  
  188.  
  189.     C. (optional) Create a batch file to invoke the script
  190.  
  191.  
  192.        Optionally, you may create a batch file to invoke the script.
  193.        PC-2-PC is an interpreted script...    and therefore gives the
  194.        best performance if executed from a RAMDisk.  If you have such a
  195.        beast, use it!  [Folk more modern (than the author) who use
  196.        caching utilities may freely ignore this advice.]
  197.  
  198.  
  199.        PC-2-PC connects to another machine either through a dialed
  200.        number or by direct connect.  If you are setting up a direct
  201.        connect, using an async port other than the usual modem port (I
  202.        myself disable my mouse...), a batch file is particularly helpful.
  203.        For example, I have a batch file to invoke this script:
  204.  
  205.             c:
  206.             cd\prod
  207.             copy pc-2-pc.cmd e:
  208.             com-and com1 115k /fe:pc-2-pc
  209.  
  210.        [My default COM-AND subdirectory is C:\PROD.  PC-2-PC.CMD is
  211.        placed in C:\PROD.  My RAMDisk is E:.  The mouse serial port
  212.        is COM1 (my modem and my COM-AND's default is COM2).  "115k" in
  213.        COM-AND's run command sets the COM1 async port speed to 115k.
  214.        The "/fe:pc-2-pc" in COM-AND's run command executes the script
  215.        after COM-AND's load-time initialization.]
  216.  
  217.  
  218.  
  219. Version 1.1: 921012
  220.  
  221. COM-AND Inter-PC File transfer                         Page   3
  222.  
  223.  
  224. III.    Script initialization
  225.  
  226.  
  227.     When PC-2-PC.CMD is executed by COM-AND, there'll be a pause (the
  228.     length of which is determined by the speed of the disk on which the
  229.     script resides).  At its start, the script 'GOTO's the end, to draw
  230.     the window.  It may seem a silly way to write a script, but once
  231.     COM-AND has read the whole script once, performance is improved
  232.     drastically!
  233.  
  234.  
  235.     The first thing PC-2-PC does is to open a double window.  The left
  236.     side of the screen always lists files in the current subdirectory
  237.     on the current machine.  The right side displays the subdirectory on
  238.     the other machine once you're connected.
  239.  
  240.  
  241.     Once the window opens, PC-2-PC begins building and displaying the
  242.     current subdirectory.  Again, this may take a bit of time... be
  243.     patient.  When all's done, a window opens over top of the file
  244.     list, prompting for action.
  245.  
  246.  
  247.     At this point, you need to see that COM-AND and the PC-2-PC script
  248.     are ready to connect on the machine with which you wish to talk.
  249.  
  250.  
  251.     Ready both machines.  On one, it doesn't matter which, select either:
  252.  
  253.            2) Wait for direct connect
  254.            4) Wait for call connect
  255.  
  256.     If you are making a direct connect, you are prompted to allow port
  257.     and speed specification(s).  A carriage return alone at this point
  258.     starts the 'waiting'.  If you are making a dialed connect, the script
  259.     simply goes into an autoanswer mode waiting for a call.
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  
  269.  
  270.  
  271.  
  272.  
  273.  
  274. Version 1.1: 921012
  275.  
  276. COM-AND Inter-PC File transfer                         Page   4
  277.  
  278.  
  279. III.    Script initialization (continued)
  280.  
  281.  
  282.     On the other machine, then select as appropriate:
  283.  
  284.            1) Direct connect
  285.            3) Dial the remote PC
  286.  
  287.     If you are making a direct connect, you are prompted to allow port
  288.     and speed specification(s).  A carriage return alone at this point
  289.     starts connection process.  If you are making a dialed connect,
  290.     you are asked for a dialing directory number for the number to call
  291.     and its parameters.  [The script does not display the dialing direc-
  292.     tory for you at this time.  You need to know it.]
  293.  
  294.  
  295.     One point to emphasize:  The script waiting for connection should
  296.     be started first.  The script 'making' the connect should then be
  297.     started.
  298.  
  299.  
  300.     If the two scripts recognize each other, they begin by exchanging
  301.     subdirectory lists.  When the lists have been exchanged,